<#include "header.htm"/>

<div id="tabs">
			<ul>
				<li><a href="${JForumContext.encodeURL("/admBase/login")}"><span>${I18n.getMessage("Admin.general")}</span></a></li>
	
			
				<li><a href="${contextPath}/adminGroups/list${extension}"><span>${I18n.getMessage("Admin.groups")}</span></a></li>
				<li><a href="${contextPath}/adminUsers/list${extension}"><span>${I18n.getMessage("Admin.users")}</span></a></li>
				<li><a href="${contextPath}/adminCategories/list${extension}"><span>${I18n.getMessage("Admin.categories")}</span></a></li>				
				<li><a href="${contextPath}/adminForums/list${extension}"><span>${I18n.getMessage("Admin.forums")}</span></a></li>
				<li id="activetab"><a href="${contextPath}/adminModeration/list${extension}"><span>${I18n.getMessage("Admin.approving")}</span></a></li>
			
				<li><a href="${contextPath}/adminRankings/list${extension}"><span>${I18n.getMessage("Admin.rankings")}</span></a></li>				
				<li><a href="${contextPath}/adminBanning/list${extension}"><span>${I18n.getMessage("Admin.banning")}</span></a></li>
				
				
				
				
				<li><a href="${contextPath}/adminConfig/list${extension}"><span>${I18n.getMessage("Admin.configurations")}</span></a></li>
			
				<li><a href="${contextPath}/adminSmilies/list${extension}"><span>${I18n.getMessage("Admin.smilies")}</span></a></li>
			
				<li><a href="${contextPath}/adminSearchStats/list${extension}"><span>${I18n.getMessage("Admin.search")}</span></a></li>
			
				<li><a href="${contextPath}/adminAttachments/configurations${extension}"><span>${I18n.getMessage("Admin.attachments")}</span></a></li>
			
				<li><a href="${contextPath}/adminCache/list${extension}"><span>${I18n.getMessage("Admin.cache")}</span></a></li>
			
			</ul>
</div>




<div id="acp">
		<div class="panel">
			<span class="corners-top"><span></span></span>
				<div id="content">
				
<#setting number_format = "#"/>

<table cellspacing="1">
            <caption>${I18n.getMessage("Moderation.Admin.pendingListCategory")}</caption>
			<colgroup><col class="row1"><col class="row1"><col class="row1"><col class="row1"><col class="row1">
			</colgroup><thead>
	<tr>
		<th  colspan="2">${I18n.getMessage("Admin.categories")}</th>
		<th style="text-align: center;">${I18n.getMessage("Moderation.Admin.forumName")}</th>
		<th style="text-align: center;">${I18n.getMessage("Moderation.Admin.postsToModerate")}</th>
		<th style="text-align: center;">${I18n.getMessage("Moderation.Admin.action")}</th>
	</tr>
	
	
	</thead>
	<tbody>


	<#if infoList.size() == 0>
		<tr>
			<td colspan="5" style="text-align: center;">${I18n.getMessage("Moderation.Admin.noneToModerate")}</td>
		</tr>
	<#else>
		<#list infoList as info>
			<tr>
			<td style="width: 5%; text-align: center;"><img src="${contextPath}/templates/${templateName}/admin/img/icon_subfolder.gif" alt="Subforum"></td>
			<td ><strong>${info.categoryName}</strong></td>
			<td colspan="3"></td>
			</tr>


			<#list info.forums as f>
				<tr>
				    <td>&nbsp;</td>
					<td>&nbsp;</td>
					<td style="text-align: center;"><strong>${f.forumName}</strong></td>
					<td style="text-align: center;"><strong>${f.postsToModerate}</strong></td>
					<td style="text-align: center;"><a href="${contextPath}/adminModeration/view/${f.forumId}${extension}"><strong>${I18n.getMessage("Moderation.Admin.view")}</strong></a></td>
				</tr>
			</#list>
		</#list>
	</#if>
</table>


</div>
	<span class="corners-bottom"><span></span></span>
</div>
</div>

<#include "bottom.htm"/>